﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ucq="clr-namespace:SfTSQuickBoard"
    x:Class="MainView"
    Title="{Binding Path=WindowTitle}" Height="785.95" Width="793.095" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" WindowStartupLocation="CenterScreen" WindowState="Maximized" SizeToContent="Manual" Icon="/SfTSQuickBoard;component/Graphics/table.ico">
	<Window.Background>
		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
			<GradientStop Color="#FF7B7474" Offset="1"/>
			<GradientStop Color="#FFF1E5E5" Offset="0.388"/>
		</LinearGradientBrush>
	</Window.Background>
    <Grid Height="730.219" Width="726">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="99*" />
            <ColumnDefinition Width="426*" />
            <ColumnDefinition Width="99*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="0.048*" />
            <RowDefinition Height="0.160*" />
            <RowDefinition Height="0.160*" />
            <RowDefinition Height="0.160*" />
            <RowDefinition Height="0.160*" />
            <RowDefinition Height="0.132*" />
            <RowDefinition Height="0.034*" />
        </Grid.RowDefinitions>
        <Label x:Name="DaysRemainingLabel" Content="{Binding Path=DaysRemainingInSprint}" Grid.Column="1" HorizontalAlignment="Right" Width="114.103" FontSize="18" Margin="0,0,0.002,0"/>
        <Label Margin="54.447,0,0,0" x:Name="SprintName" Content="{Binding Path=SprintName}" Grid.Column="1" FontSize="18" RenderTransformOrigin="0.5,0.5" ContentStringFormat="" Width="187.631" HorizontalAlignment="Left">
        	<Label.RenderTransform>
        		<TransformGroup>
        			<ScaleTransform ScaleX="1" ScaleY="1"/>
        			<SkewTransform AngleX="0" AngleY="0"/>
        			<RotateTransform Angle="0.092"/>
        			<TranslateTransform X="0" Y="0"/>
        		</TransformGroup>
        	</Label.RenderTransform>
</Label>
        <Image Grid.Column="1" Grid.Row="1" Grid.RowSpan="3" x:Name="Image1" Stretch="Fill" Source="{Binding Path=ReportImage}" Margin="0,0,0,0" />
        <ucq:StatusOverview Count="{Binding Path=PBICount}" Hours="-1"  Status="PBIs" x:Name="PBICount" Margin="0,0,0,0" Grid.Row="1" BorderThickness="2,2,2,0" >
        	<ucq:StatusOverview.BorderBrush>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FF000000" Offset="0.915"/>
        			<GradientStop Color="#FFF1DADA" Offset="0.196"/>
        		</LinearGradientBrush>
        	</ucq:StatusOverview.BorderBrush>
        </ucq:StatusOverview>
        <ucq:StatusOverview Count="{Binding Path=SBICount}" Hours="-1" Status="SBIs" x:Name="SBICount" Margin="0,0,0,0" Grid.Row="3" BorderThickness="2,0,2,0" BorderBrush="#FF000000" />
        <ucq:StatusOverview Count="{Binding Path=BugCount}" Hours="-1" Status="Bugs" x:Name="BugCount" Margin="0,0,0,0" Grid.Row="2" BorderBrush="#FF000000" BorderThickness="2,0,2,0" />
        <ucq:StatusOverview Count="{Binding Path=ImpedimentCount}" Hours="-1" Status="Impedements" x:Name="ImpCount" Margin="1,0,1,0" Grid.Row="4" BorderThickness="2,0,2,2" >
        	<ucq:StatusOverview.BorderBrush>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FF000000" Offset="0.161"/>
        			<GradientStop Color="#FF798F7E" Offset="0.826"/>
        		</LinearGradientBrush>
        	</ucq:StatusOverview.BorderBrush>
        </ucq:StatusOverview>
        <ListView FontSize="14" Grid.ColumnSpan="3" ItemsSource="{Binding Path=Users}" Margin="0,0,0,0" x:Name="ListView1" Grid.Row="5">
            <ListView.View>
                <GridView>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=UserName}" Header="Team Member"/>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=notDoneCount}" Header="Not Started"/>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=notDoneHours}" Header="Not Started(Hours)"/>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=inProgressCount}" Header="In Progress"/>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=inProgressHours}" Header="In Progress(Hours)"/>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=readyForTestCount}" Header="Testing"/>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=readyForTestHours}" Header="Testing(Hours)"/>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=doneCount}" Header="Done"/>
                </GridView>
            </ListView.View>
        </ListView>
        <Button Grid.Row="6" Margin="0,0,0,0" x:Name="RefreshButton" Command="{Binding Path=RefreshCommand}" Grid.Column="2" Content="Refresh"/>
        <Button Margin="0,0,0,0" x:Name="OptionsButton" Grid.Row="6" Command="{Binding Path=OptionsCommand}" Content="Options"/>
        <ucq:StatusOverview x:Name="SBINotDone" Count="{Binding Path=SBINotDone.Count}" Hours="{Binding Path=SBINotDone.Hours}" HorizontalAlignment="Left" Margin="0,0,0,0" Status="SBI Not Done" Width="101" Grid.Column="1" Grid.Row="4" BorderThickness="2,2,0,2" >
        	<ucq:StatusOverview.BorderBrush>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FF000000" Offset="0"/>
        			<GradientStop Color="#FFFFFFFF" Offset="1"/>
        		</LinearGradientBrush>
        	</ucq:StatusOverview.BorderBrush>
        </ucq:StatusOverview>
        <ucq:StatusOverview x:Name="SBIInProcess" Count="{Binding Path=SBIInProgress.Count}" Hours="{Binding Path=SBIInProgress.Hours}" HorizontalAlignment="Left" Margin="141.097,2.572,0,2.572" Status="SBI In Process" Width="101" Grid.Column="1" Grid.Row="4" BorderThickness="0,2,0,2" >
        	<ucq:StatusOverview.BorderBrush>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FF000000" Offset="0"/>
        			<GradientStop Color="#FFFFFFFF" Offset="1"/>
        		</LinearGradientBrush>
        	</ucq:StatusOverview.BorderBrush>
        </ucq:StatusOverview>
        <ucq:StatusOverview x:Name="SBITest" Count="{Binding Path=SBITest.count}" Hours="{Binding Path=SBITest.Hours}" HorizontalAlignment="Right" Margin="0,2.572,127.764,2.572" Status="SBI Test" Width="101" Grid.Column="1" Grid.Row="4" BorderThickness="0,2,0,2" >
        	<ucq:StatusOverview.BorderBrush>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FF000000" Offset="0"/>
        			<GradientStop Color="#FFFFFFFF" Offset="1"/>
        		</LinearGradientBrush>
        	</ucq:StatusOverview.BorderBrush>
        </ucq:StatusOverview>
        <ucq:StatusOverview x:Name="SBIDone" Count="{Binding Path=SBIDone.Count}" Hours="-1" HorizontalAlignment="Right" Margin="0,0,0,0" Status="SBI Done" Width="101" Grid.Column="1" Grid.Row="4" BorderThickness="0,2,2,2" >
        	<ucq:StatusOverview.BorderBrush>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FF000000" Offset="0"/>
        			<GradientStop Color="#FFFFFFFF" Offset="1"/>
        		</LinearGradientBrush>
        	</ucq:StatusOverview.BorderBrush>
        </ucq:StatusOverview>
        <ucq:StatusOverview x:Name="PBINotDone" Count="{Binding Path=PBINotDone.Count}" Hours="{Binding Path=PBINotDone.Hours}" Margin="0,0,0,0" Status="PBI Not Done" Grid.Column="2" Grid.Row="1" Background="{x:Null}" BorderThickness="2,2,2,0" >
        	<ucq:StatusOverview.BorderBrush>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FF000000" Offset="0.942"/>
        			<GradientStop Color="#FFE9CECE" Offset="0.098"/>
        		</LinearGradientBrush>
        	</ucq:StatusOverview.BorderBrush>
        </ucq:StatusOverview>
        <ucq:StatusOverview x:Name="PBIInProcess" Count="{Binding Path=PBIInProgress.Count}" Hours="{Binding Path=PBIInProgress.Hours}" Margin="0,0,0,0" Status="PBI In Process" Grid.Column="2" Grid.Row="2" BorderThickness="2,0,2,0" BorderBrush="#FF000000" />
        <ucq:StatusOverview x:Name="PBITest" Count="{Binding Path=PBITest.count}" Hours="{Binding Path=PBITest.Hours}" Margin="0,0,0,0" Status="PBI Test" Grid.Column="2" Grid.Row="3" BorderBrush="#FF000000" BorderThickness="2,0,2,0" />
        <ucq:StatusOverview x:Name="PBIDone" Count="{Binding Path=PBIDone.Count}" Hours="-1" Margin="0,0,0,0" Status="PBI Done" Grid.Column="2" Grid.Row="4" Background="{x:Null}" BorderThickness="2,0,2,2" >
        	<ucq:StatusOverview.BorderBrush>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FF000000" Offset="0.21"/>
        			<GradientStop Color="#FF746F6F" Offset="0.866"/>
        		</LinearGradientBrush>
        	</ucq:StatusOverview.BorderBrush>
        </ucq:StatusOverview>
        <Label Margin="141.097,0,0,0" x:Name="TimeLeft" Content="{Binding Path=UpdateCountdown}" Grid.Column="1" Grid.Row="6" Foreground="#FFF1E5E5" Width="101" HorizontalAlignment="Left"/>
        <Label Grid.Column="1" Grid.Row="6" HorizontalAlignment="Left" Margin="0,0,0,0" x:Name="Label1" Width="138.875" Foreground="#FFF1E5E5" Content="Time left until next check:"/>
        <Label Grid.Column="1" Height="0" HorizontalAlignment="Left" Margin="112.211,6.621,0,0" x:Name="Label2" VerticalAlignment="Top" Width="0" Content="Label" Grid.Row="1"/>
        <Label Grid.Column="1" HorizontalAlignment="Left" Margin="0,0,0,0" x:Name="Label3" Width="65.549" FontSize="18" Content="Sprint:"/>
        <Label Grid.Column="1" HorizontalAlignment="Right" Margin="0,0,108.103,0" x:Name="Label4" Width="93.99" FontSize="18" Content="Days Left:"/>
    </Grid>
</Window>
